package com.cs.contract.service.impl;

import com.cs.contract.mapper.CsSupplierMapper;
import com.cs.contract.service.CsSupplierService;
import com.cs.contract.domain.CsSupplier;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Author：zrx
 * @Package：com.cs.service.impl
 * @Project：CsSignServiceImpl
 * @name：CsSupplierServiceImpl
 * @Date：2024/11/18 15:44
 * @Filename：CsSupplierServiceImpl
 */
@Service
public class CsSupplierServiceImpl implements CsSupplierService {
    private final CsSupplierMapper csSupplierMapper;

    public CsSupplierServiceImpl(CsSupplierMapper csSupplierMapper) {
        this.csSupplierMapper = csSupplierMapper;
    }

    @Override
    public CsSupplier getCsSupplierByHid(Integer hid) {
        return csSupplierMapper.getCsSupplierByHid(hid);
    }

    @Override
    public List<CsSupplier> listCsSupplierList(CsSupplier csSupplier) {
        return csSupplierMapper.listCsSupplierList(csSupplier);
    }


    // /**
    //  * 查询供应商列表
    //  *
    //  * @param csSupplier 供应商信息
    //  * @return 供应商列表
    //  */
    // public List<CsContract> listCsSupplier(CsSupplier csSupplier) {
    //     return csSupplierMapper.listCsSupplier(csSupplier);
    // }
}
